<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class MemoryUserDatabase</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class MemoryUserDatabase</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">MemoryUserDatabase class</p>
<p class="description"><p>Concrete implementation of UserDatabase that loads all  defined users, groups, and roles into an in-memory data structure,  and uses a specified XML file for its persistent storage.</p><p></p></p>
		<p class="notes">
			Located in <a class="field" href="_aas---users---MemoryUserDatabase.php.html">/aas/users/MemoryUserDatabase.php</a> (line <span class="field">47</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$groups" title="details" class="var-name">$groups</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$id" title="details" class="var-name">$id</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$pathname" title="details" class="var-name">$pathname</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$roles" title="details" class="var-name">$roles</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$users" title="details" class="var-name">$users</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																																																																				
												<div class="method-definition">
											<span class="method-result">MemoryUserDatabase</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#close" title="details" class="method-name">close</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#createGroup" title="details" class="method-name">createGroup</a>
											(<span class="var-type">groupname</span>&nbsp;<span class="var-name">$groupname</span>, <span class="var-type">description</span>&nbsp;<span class="var-name">$description</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#createRole" title="details" class="method-name">createRole</a>
											(<span class="var-type">rolename</span>&nbsp;<span class="var-name">$rolename</span>, <span class="var-type">description</span>&nbsp;<span class="var-name">$description</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#createUser" title="details" class="method-name">createUser</a>
											(<span class="var-type">username</span>&nbsp;<span class="var-name">$username</span>, <span class="var-type">password</span>&nbsp;<span class="var-name">$password</span>, <span class="var-type">fullName</span>&nbsp;<span class="var-name">$fullName</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#findGroup" title="details" class="method-name">findGroup</a>
											(<span class="var-type">groupname</span>&nbsp;<span class="var-name">$groupname</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#findRole" title="details" class="method-name">findRole</a>
											(<span class="var-type">rolename</span>&nbsp;<span class="var-name">$rolename</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#findUser" title="details" class="method-name">findUser</a>
											(<span class="var-type">username</span>&nbsp;<span class="var-name">$username</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getGroups" title="details" class="method-name">getGroups</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getId" title="details" class="method-name">getId</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getPathname" title="details" class="method-name">getPathname</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getRoles" title="details" class="method-name">getRoles</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getUsers" title="details" class="method-name">getUsers</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#open" title="details" class="method-name">open</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#removeGroup" title="details" class="method-name">removeGroup</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$group</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#removeRole" title="details" class="method-name">removeRole</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$role</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#removeUser" title="details" class="method-name">removeUser</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$user</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#save" title="details" class="method-name">save</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setPathname" title="details" class="method-name">setPathname</a>
											(<span class="var-type">pathname</span>&nbsp;<span class="var-name">$pathname</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#__toString" title="details" class="method-name">__toString</a>
										()
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$groups" id="$groups"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$groups</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">54</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The set of Groups defined in this database, keyed by  group name.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$id" id="$id"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$id</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">60</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The unique global identifier of this user database.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$pathname" id="$pathname"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$pathname</span>
			 = <span class="var-default"> &quot;resources/phpmvc-users.xml&quot;</span>			(line <span class="line-number">67</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The relative (to <div class="src-code"><ol><li><div class="src-line"><span class="src-id">catalina</span>.<span class="src-id">base</span></div></li>
</ol></div>) or absolute pathname to  the XML file in which we will save our persistent information.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$roles" id="$roles"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$roles</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">74</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The set of Roles defined in this database, keyed by  role name.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$users" id="$users"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$users</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">81</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The set of Users defined in this database, keyed by  user name.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">84</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">MemoryUserDatabase</span>
		<span class="method-name">
			__construct
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodclose" id="close"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">close</span> (line <span class="line-number">152</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Finalize access to this user database.</p>
	<ul class="tags">
				<li><span class="field">exception:</span> Exception if any exception is thrown during closing</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			close
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodcreateGroup" id="createGroup"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">createGroup</span> (line <span class="line-number">164</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Create and return a new Group defined in this user database.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			createGroup
		</span>
					(<span class="var-type">groupname</span>&nbsp;<span class="var-name">$groupname</span>, <span class="var-type">description</span>&nbsp;<span class="var-name">$description</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">groupname</span>
				<span class="var-name">$groupname</span><span class="var-description">: The group name of the new group (must be unique)</span>			</li>
					<li>
				<span class="var-type">description</span>
				<span class="var-name">$description</span><span class="var-description">: The description of this group</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcreateRole" id="createRole"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">createRole</span> (line <span class="line-number">178</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Create and return a new Role defined in this user database.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			createRole
		</span>
					(<span class="var-type">rolename</span>&nbsp;<span class="var-name">$rolename</span>, <span class="var-type">description</span>&nbsp;<span class="var-name">$description</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">rolename</span>
				<span class="var-name">$rolename</span><span class="var-description">: The role name of the new group (must be unique)</span>			</li>
					<li>
				<span class="var-type">description</span>
				<span class="var-name">$description</span><span class="var-description">: The description of this group</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcreateUser" id="createUser"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">createUser</span> (line <span class="line-number">192</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Create and return a new User defined in this user database.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			createUser
		</span>
					(<span class="var-type">username</span>&nbsp;<span class="var-name">$username</span>, <span class="var-type">password</span>&nbsp;<span class="var-name">$password</span>, <span class="var-type">fullName</span>&nbsp;<span class="var-name">$fullName</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">username</span>
				<span class="var-name">$username</span><span class="var-description">: The logon username of the new user (must be unique)</span>			</li>
					<li>
				<span class="var-type">password</span>
				<span class="var-name">$password</span><span class="var-description">: The logon password of the new user</span>			</li>
					<li>
				<span class="var-type">fullName</span>
				<span class="var-name">$fullName</span><span class="var-description">: The full name of the new user</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfindGroup" id="findGroup"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">findGroup</span> (line <span class="line-number">206</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the Group with the specified group name, if any;  otherwise return <div class="src-code"><ol><li><div class="src-line"><span class="src-id">null</span></div></li>
</ol></div>.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			findGroup
		</span>
					(<span class="var-type">groupname</span>&nbsp;<span class="var-name">$groupname</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">groupname</span>
				<span class="var-name">$groupname</span><span class="var-description">: Name of the group to return</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfindRole" id="findRole"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">findRole</span> (line <span class="line-number">218</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the Role with the specified role name, if any;  otherwise return <div class="src-code"><ol><li><div class="src-line"><span class="src-id">null</span></div></li>
</ol></div>.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			findRole
		</span>
					(<span class="var-type">rolename</span>&nbsp;<span class="var-name">$rolename</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">rolename</span>
				<span class="var-name">$rolename</span><span class="var-description">: Name of the role to return</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfindUser" id="findUser"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">findUser</span> (line <span class="line-number">230</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the User with the specified user name, if any;  otherwise return <div class="src-code"><ol><li><div class="src-line"><span class="src-id">null</span></div></li>
</ol></div>.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			findUser
		</span>
					(<span class="var-type">username</span>&nbsp;<span class="var-name">$username</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">username</span>
				<span class="var-name">$username</span><span class="var-description">: Name of the user to return</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetGroups" id="getGroups"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getGroups</span> (line <span class="line-number">95</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the set of Groups defined in this user database.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getGroups
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetId" id="getId"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getId</span> (line <span class="line-number">103</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the unique global identifier of this user database.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getId
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetPathname" id="getPathname"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getPathname</span> (line <span class="line-number">111</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the relative or absolute pathname to the persistent storage file.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getPathname
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetRoles" id="getRoles"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getRoles</span> (line <span class="line-number">130</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the set of Roles defined in this user database.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getRoles
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetUsers" id="getUsers"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getUsers</span> (line <span class="line-number">138</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the set of Users defined in this user database.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getUsers
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodopen" id="open"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">open</span> (line <span class="line-number">241</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Initialize access to this user database.</p>
	<ul class="tags">
				<li><span class="field">exception:</span> Exception if any exception is thrown during opening</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			open
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodremoveGroup" id="removeGroup"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">removeGroup</span> (line <span class="line-number">270</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Remove the specified Group from this user database.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			removeGroup
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$group</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">group</span>
				<span class="var-name">$group</span><span class="var-description">: The group to be removed</span>			</li>
				</ul>
		
			
	</div>
<a name="methodremoveRole" id="removeRole"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">removeRole</span> (line <span class="line-number">280</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Remove the specified Role from this user database.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			removeRole
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$role</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">role</span>
				<span class="var-name">$role</span><span class="var-description">: The role to be removed</span>			</li>
				</ul>
		
			
	</div>
<a name="methodremoveUser" id="removeUser"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">removeUser</span> (line <span class="line-number">290</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Remove the specified User from this user database.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			removeUser
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$user</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">user</span>
				<span class="var-name">$user</span><span class="var-description">: The user to be removed</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsave" id="save"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">save</span> (line <span class="line-number">300</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Save any updated information to the persistent storage location for  this user database.</p>
	<ul class="tags">
				<li><span class="field">exception:</span> Exception if any exception is thrown during saving</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			save
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsetPathname" id="setPathname"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setPathname</span> (line <span class="line-number">122</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the relative or absolute pathname to the persistent storage file.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setPathname
		</span>
					(<span class="var-type">pathname</span>&nbsp;<span class="var-name">$pathname</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">pathname</span>
				<span class="var-name">$pathname</span><span class="var-description">: The new pathname</span>			</li>
				</ul>
		
			
	</div>
<a name="method__toString" id="__toString"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">__toString</span> (line <span class="line-number">307</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return a String representation of this UserDatabase.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			__toString
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Sat, 09 Feb 2008 11:57:32 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.0</a>
	</p>
	</div></body>
</html>